import request from '@/utils/request'

// 查询入库申请列表
export function listInSto(query) {
  return request({
    url: '/insto/list',
    method: 'post',
    data: JSON.parse(JSON.stringify(query))
  })
}
// 删除入库申请
export function delInSto(id) {
  return request({
    url: '/insto/deleteInSto/' + id,
    method: 'delete'
  })
}

// 入库申请审批
export function approve(query) {
  return request({
    url: '/insto/approve/',
    method: 'post',
    data: query
  })
}

// 审批状态
export function findTatus() {
  return request({
    url: '/tatus/tatusList',
    method: 'get'
  })
}
